package org.xx.armory.ofs.controllers;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import org.xx.armory.commons.ForLogging;

@Controller
@RequestMapping("/portal")
public class HomeController {
    @ForLogging
    private Logger logger = LoggerFactory.getLogger(HomeController.class);

    @GetMapping({"/", "/index"})
    public ModelAndView index() {
        return new ModelAndView("/portal/index");
    }
}
